
//
// 110516 - AH - (Garage) Created.
//

package org.soekrat.gui.swing.studio;

import java.awt.BorderLayout;

import javax.swing.JPanel;

import org.soekrat.engine.Soekrat2Engine;
import org.soekrat.gui.swing.pit.PitEditor;

/**
 * <p>
 *   {@link RatStudioView} to show
 *   {@link PitEditor} in a dockable way.
 * </p>
 * @author Arne Halvorsen (AH).
 */
@SuppressWarnings("serial")
public final class PitEditorRatStudioView extends RatStudioView 
{
  /**
   * <p>
   *   Constructor.
   * </p>
   * @param engine {@link Soekrat2Engine} interfaced.
   */
  public PitEditorRatStudioView(Soekrat2Engine engine)
  {
    super("Pit", engine);
    
    JPanel c=getContentPanel();
    c.setLayout(new BorderLayout());
    c.add(new PitEditor(engine), BorderLayout.CENTER);
  }
  
}
